INDEX | PREV | NEXT

    CLIB/Amiga Documentaion

    Contents: Standard Input & Ouput

    Input Operations
      fgetc - get char from file
      fgets - get line from file
      getc - get char from stdin
      gets - get string from stdin
      getchar - get char from stdin
      ungetc - un-gets last input

      fscanf - get input from file
      scanf - getinput from stdin
      sscanf - get input from string

    Output Functions
      printf - write to stdout
      vprintf - write to buffer
      fprintf - write to file
      vfprintf - write to file
      sprintf - write to stdout
      vsprintf - write to buffer

      fputc - writes char to file
      putc - writes char to file
      fputs - writes string to file
      puts - writes string to stdout
      putchar - output char

    I/O Definitions
      stdin - standard input
      stdout - standard ouput
      stderr - standard error

    File Operaions
      What is a file pointer?
      fopen - open file
      freopen - reopen a file
      fflush - update file contents (flush buffers)
      fclose - close file

      fdopen - associate file pointer with descriptor
      fileno - return file pointer of file descriptor
      fread - read from file pointer
      write - write to file pointer
      feof - return EOF for file pointer
      ferror - return error for file pointer
      fgetpos - get position within file pointer
      fseek - seek within file pointer
      fsetpos - set posistion in file pointer
      ftell - return current position within file pointer

      clearerr - clear file pointer error
      perror - output file pointer error

      remove - delete file
      rename - rename file
      rewind - goto beginning of file

      setbuf - set file buffering
      setvbuf - set file pointer buffering
      tmpfile - create temory file
      tmpnam - give tempory file name



Converted using GuideML V1.6, a converter written by Richard Körber <shred@chessy.aworld.de>